how war affects the stock market